<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Photo extends Model
{
    //
    protected $dates = ['deleted_at'];
    public $timestamps = false;
    protected $primaryKey = 'photo_id';
    // protected $visible = ['photo_id', 'photo_name', 'photo_file', 'photo_width', 'photo_height', 'photo_size', 'is_cover', 'url_wechat'];
    protected $fillable = [
        'photo_name',
        'photo_file',
        'photo_width',
        'photo_height',
        'photo_size',
        'created_by',
        'url_wechat',
    ];


}
